package com.swy.shopgroup.entity;

public class ShopUser {

    /**
     * code : 200
     * msg : 登录成功
     * data : {"id":3,"name":"swy1","password":"123","nickname":"测试","sex":"1","type":2,"avatar":"cd2ec72b-70b0-4278-9539-4e9825d476c8.jpg"}
     */

    private String code;
    private String msg;
    private DataBean data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 3
         * name : swy1
         * password : 123
         * nickname : 测试
         * sex : 1
         * type : 2
         * avatar : cd2ec72b-70b0-4278-9539-4e9825d476c8.jpg
         */

        private int id;
        private String name;
        private String password;
        private String nickname;
        private String sex;
        private int type;
        private String avatar;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getPassword() {
            return password;
        }

        public void setPassword(String password) {
            this.password = password;
        }

        public String getNickname() {
            return nickname;
        }

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }

        public String getSex() {
            return sex;
        }

        public void setSex(String sex) {
            this.sex = sex;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public String getAvatar() {
            return avatar;
        }

        public void setAvatar(String avatar) {
            this.avatar = avatar;
        }
    }
}
